package com.jootu.cc.ccapi.domain;

import java.util.List;

import com.jootu.cc.ccapi.domain.Attachment;
import com.jootu.cc.ccapi.domain.AttachmentExample;

public interface AttachmentMapper {
    /**
     *
     * @mbg.generated 2017-08-10
     */
    long countByExample(AttachmentExample example);

    /**
     *
     * @mbg.generated 2017-08-10
     */
    int deleteByPrimaryKey(Integer id);

    /**
     *
     * @mbg.generated 2017-08-10
     */
    int insert(Attachment record);

    /**
     *
     * @mbg.generated 2017-08-10
     */
    int insertSelective(Attachment record);

    /**
     *
     * @mbg.generated 2017-08-10
     */
    Attachment selectByPrimaryKey(Integer id);

    /**
     *
     * @mbg.generated 2017-08-10
     */
    int updateByPrimaryKeySelective(Attachment record);

    /**
     *
     * @mbg.generated 2017-08-10
     */
    int updateByPrimaryKey(Attachment record);
    
    
    List<Attachment> selectAll();
}